﻿<UserControl x:Class="Hangout.Client.Controls.Notifications.NotificationReceived"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}" d:DesignWidth="480" Height="75" Loaded="UserControl_Loaded">
	<UserControl.Resources>
		<Storyboard x:Name="ShowNotification">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.TranslateY)" Storyboard.TargetName="LayoutRoot">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="82.725">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
				<EasingDoubleKeyFrame KeyTime="0:0:4" Value="82.725"/>
				<EasingDoubleKeyFrame KeyTime="0:0:4.3" Value="-0.886">
					<EasingDoubleKeyFrame.EasingFunction>
						<CircleEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
    
    <Grid x:Name="LayoutRoot" Background="{StaticResource YellowBrush}" Tap="LayoutRoot_Tap" Margin="0,-83,0,0" Height="75" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
    	<Grid.RenderTransform>
    		<CompositeTransform/>
    	</Grid.RenderTransform>
    	<TextBlock x:Name="TextLBL" TextWrapping="Wrap" FontFamily="Segoe WP Light" FontSize="22.667" Foreground="#FF002455" Width="405" Margin="75,0,0,0" VerticalAlignment="Center"/>
    	<Image HorizontalAlignment="Left" Width="50" Height="50" Source="Notification blue.PNG" Margin="7,13,0,12"/>
    </Grid>
</UserControl>
